home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7129 < prev    next >
Encoding:
Text File  |  1996-08-05  |  779 b   |  17 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: cumbrae.dcs.ed.ac.uk!cdc
  3. From: cdc@dcs.ed.ac.uk (Christopher Carr)
  4. Subject: Reading file protection flags
  5. X-Nntp-Posting-Host: cumbrae.dcs.ed.ac.uk
  6. Message-ID: <DpLCzs.Lxn.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>
  7. Sender: cdc@cumbrae.dcs.ed.ac.uk (Christopher Carr)
  8. Organization: Department of Computer Science, University of Edinburgh
  9. X-Newsreader: xrn 8.00
  10. Date: Tue, 9 Apr 1996 10:55:02 GMT
  11.  
  12.     I am trying to read the file protection flags in C using
  13. fib_lProtection & FIBF_DELETE etc, but I get the wrong results
  14. on delete, read, write and execute. But if I take the inverse of these
  15. results I get the correct values. Is this another OS slip up since the rest
  16. of the protection bits can bre read correctly, or am I doing it incorrectly?
  17.